Calls the event that is passed to it.
Notes
Syntax
RaiseEvent EventName [(parameters)]
Part | Type | Description |
|---|---|---|
EventName |
|
The name of the event that you want to trigger. |
Parameters |
|
Parameters to EventName, if any. |
EventName is the name of the event that you want to call. If the event requires parameters, then they are passed as the optional parameter to RaiseEvent. RaiseEvent is useful when you have an Event Definition that has the same name as a method and the ordinary way to call an event definition is ambiguous.